package com.example.interview.no0106;

import com.example.interview.no0106.solution.ForSolution;
import com.example.interview.no0106.solution.WhileSolution;

/**
 * @Description 解答测试-字符串压缩
 * @ClassName SolutionTest
 * @Author Administrator
 * @Date 2020/5/16 12:54
 * @Version 1.0.0
 */
public class SolutionTest {

    static String s = "aaaabbbcddaaa";

    public static void main(String[] args) {

        System.out.println("输入字符串为: s: " + s);

        Solution solution = new ForSolution();

        System.out.println(solution.compressString(s));
    }
}
